﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DevExpress.Xpo;
using WROA.Models.Entitys;

namespace WROA.Models.IServices
{
    public interface IDocumentService : IService
    {
        XPCollection GetAllApplyDocument(string name, string position);
        ApplyDocument GetApplyDocument(int id);
        Procedure GetProcedure(Flow flow, int stepid);
        void UpdateApplyDocumentProcedure(int id, Procedure procedure);
        void UpdateApplyDocumentState(int id);
        void UpdateApplyDocumentIsAgree(int id);
        void SaveDocumentApprove(DocumentApprove documentApprove);

    }
}